FROM {{.registry}}/{{.upstream}}

# Jaeger
RUN curl -sSLo jaeger.tar.gz '{{.jaeger_download_url}}' && \
    tar -xf jaeger.tar.gz -C /opt/bin --strip-components 1 && \
    rm -f jaeger.tar.gz

ADD minit.d /etc/minit.d

WORKDIR /work

ENV APP_BIN_NAME demo